package com.dy.lock.screen.dao.impl;

import org.springframework.stereotype.Repository;

import com.dy.lock.screen.dao.SoftwareVersionDao;
import com.dy.lock.screen.pojo.SoftwareVersionInfo;
@Repository("softwareVersionDao")
public class SoftwareVersionDaoImpl extends BaseDaoImpl<SoftwareVersionInfo, String> implements
		SoftwareVersionDao {

	@Override
	public String getQueryNamespace() {
		return "mybatis.xml.SoftwareVersionMapper";
	}

	@Override
	public SoftwareVersionInfo queryLastVersion() {
		return this.getSqlSession().selectOne(this.getQueryNamespace() + ".queryLastVersion");
	}

}
